

package com.maoshi.shop.bean.app.param;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "支付参数")
public class PayParam {

    @NotBlank(message = "订单号不能为空")
    @ApiModelProperty(value = "订单号", required = true)
    private String orderNumbers;

    @NotNull(message = "支付方式不能为空")
    @ApiModelProperty(value = "支付方式 (1:微信小程序支付 2:支付宝 3微信扫码支付 4 微信h5支付)", required = true)
    private Integer payType;

    @NotNull(message = "订单类型")
    @ApiModelProperty(value = "订单类型（0:普通订单、1:团购、2:秒杀）", required = true)
    private Integer orderType = 0;

}
